// 测试界面样式
* {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

body {
    width: 100vw;
    margin: 0 auto;
    background: #f6f7f8;
    font-size: 0;
}

// 第一部分：nav导航栏
.nav {
    position: fixed;
    top: 0;
    left: 0px;
    display: flex;
    justify-content: space-between;
    width: 100vw;
    height: 12vw;
    background-color: #019fe6;
    z-index: 999;

    .left {
        position: relative;
        width: 40vw;
        height: 12vw;
        font: normal normal 4.8vw/13.5vw "Microsoft YaHei";
        text-indent: 10vw;
        text-decoration: none;
        color: #fff;

        &::before {
            content: "";
            position: absolute;
            top: 4vw;
            left: 2vw;
            width: 6vw;
            height: 6vw;
            background: url(../images/首页icon.png) no-repeat center;
            background-size: contain;
        }
    }

    .right {
        position: absolute;
        top: 2vw;
        right: 5vw;
        width: 24vw;
        height: 8vw;
        border-radius: 4vw;
        background-color: rgba(0, 0, 0, .15);
        font: normal normal 3vw/8vw "Microsoft YaHei";
        text-align: center;
        color: #ddd;

        &::before {
            content: "";
            position: absolute;
            top: 1.5vw;
            left: 3vw;
            width: 5vw;
            height: 5vw;
            background: url(../images/更多icon.png) no-repeat center;
            background-size: contain;
        }

        &::after {
            content: "";
            position: absolute;
            top: 2vw;
            right: 4vw;
            width: 4vw;
            height: 4vw;
            background: url(../images/关闭icon.png) no-repeat center;
            background-size: contain;
        }
    }
}

// 主内容
.main {

    margin: 15vw auto;

    .plan1 {
        display: block;
        width: 95vw;
        margin: 5vw auto;
        border-radius: 2vw;
        background-color: #fff;
        color: #000;
        text-decoration: none;

        .name {
            position: relative;
            width: 95vw;
            height: 14.8vw;
            border-bottom: 0.2vw solid #f6f7f8;
            font: normal bold 5vw/14.8vw "Microsoft YaHei";
            text-indent: 5vw;
            color: #000;

            &::after {
                content: "设置";
                position: absolute;
                top: 3.5vw;
                right: 5vw;
                width: 16vw;
                height: 8vw;
                background-color: #019fe6;
                border-radius: 2vw;
                font: normal normal 4.6vw/8vw "Microsoft YaHei";
                text-indent: 0vw;
                text-align: center;
                color: #fff;
            }
        }

        .img {
            display: flex;
            justify-content: space-around;
            width: 95vw;
            height: 20vw;

            .li1 {
                width: 24vw;
                height: 15vw;
                margin-top: 2vw;
                background: url(../images/广告1.png)no-repeat center;
                background-size: contain;
            }

            .li2 {
                width: 24vw;
                height: 15vw;
                margin-top: 2vw;
                background: url(../images/广告2.png)no-repeat center;
                background-size: contain;
            }

            .li3 {
                width: 24vw;
                height: 15vw;
                margin-top: 2vw;
                background: url(../images/广告3.png)no-repeat center;
                background-size: contain;
            }
        }

        .type {
            position: relative;
            width: 95vw;
            height: 10vw;
            font: normal normal 4.6vw/10vw "Microsoft YaHei";
            text-indent: 5vw;
            color: #999;

            &::after {
                content: "已上架";
                position: absolute;
                top: 0;
                right: 5vw;
                color: #333;
            }
        }

        .time {
            position: relative;
            width: 95vw;
            height: 8vw;
            font: normal normal 4.6vw/8vw "Microsoft YaHei";
            text-indent: 5vw;
            color: #999;

            &::after {
                content: "2022/07/14  12:00:59";
                position: absolute;
                top: 0;
                right: 5vw;
                color: #333;
            }
        }
    }

    .plan2 {
        width: 95vw;
        margin: 5vw auto;
        border-radius: 2vw;
        background-color: #fff;

        .name {
            position: relative;
            width: 95vw;
            height: 14.8vw;
            border-bottom: 0.2vw solid #f6f7f8;
            font: normal bold 5vw/14.8vw "Microsoft YaHei";
            text-indent: 5vw;
            color: #000;

            &::after {
                content: "设置";
                position: absolute;
                top: 3.5vw;
                right: 5vw;
                width: 16vw;
                height: 8vw;
                background-color: #019fe6;
                border-radius: 2vw;
                font: normal normal 4.6vw/8vw "Microsoft YaHei";
                text-indent: 0vw;
                text-align: center;
                color: #fff;
            }
        }

        .img {
            display: flex;
            justify-content: space-around;
            width: 95vw;
            height: 20vw;

            .li {
                width: 20vw;
                height: 20vw;
                margin-top: 2vw;
                background: url(../images/图标icon.png)no-repeat center;
                background-size: contain;
            }
        }

        .type {
            position: relative;
            width: 95vw;
            height: 8vw;
            font: normal normal 4.6vw/8vw "Microsoft YaHei";
            text-indent: 5vw;
            color: #999;

            &::after {
                content: "未上架";
                position: absolute;
                top: 0;
                right: 5vw;
                color: #333;
            }
        }

        .time {
            position: relative;
            width: 95vw;
            height: 8vw;
            font: normal normal 4.6vw/8vw "Microsoft YaHei";
            text-indent: 5vw;
            color: #999;

            &::after {
                content: "2022/07/14  12:00:59";
                position: absolute;
                top: 0;
                right: 5vw;
                color: #333;
            }
        }
    }
}

// 底部--模块
.footer {
    position: fixed;
    right: 5vw;
    bottom: 10vw;
    display: block;
    width: 14vw;
    height: 14vw;
    border-radius: 7vw;
    box-shadow: 0vw 0 0.5vw 0.5vw #019fe6;
    background: #019fe6 url(../images/加号.png) no-repeat center;
    background-size: contain;
}